// import { ref } from 'vue'
const state = {
    //侧边栏收缩
    sidebar_is_open: false
}
const mutations = {
    SIDEBAR_EXPAND(state) {
        state.sidebar_is_open = !state.sidebar_is_open

    }
}

const actions = {
    sidebar_expand({ commit }) {
        commit('SIDEBAR_EXPAND')
    }
}

export default {
    namespaced: true,
    state,
    mutations,
    actions
}